package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-10-20
 */
@TableName("ORDER_SERVICE_QUALITY")
public class OrderServiceQuality extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 质控服务订单编号
     */
    @TableId("OSQ_ID")
    private String osqId;

    /**
     * 质控服务订单名称
     */
    @TableField("OSQ_NAME")
    private String osqName;

    /**
     * 实物订单表主键
     */
    @TableField("ORDER_ID")
    private String orderId;

    /**
     * 店铺ID
     */
    @TableField("OSQ_SHOP_ID")
    private String osqShopId;

    /**
     * 订单状态
     */
    @TableField("OSQ_STATE")
    private String osqState;

    /**
     * 订单状态
     */
    @TableField(exist = false)
    private String osqStateLabel;
    /**
     * 预计订单服务金额
     */
    @TableField("OSQ_ESTIMATE_MONEY")
    private BigDecimal osqEstimateMoney;

    /**
     * 订单服务金额
     */
    @TableField("OSQ_MONEY")
    private BigDecimal osqMoney;

    /**
     * 应收服务金额
     */
    @TableField("OSQ_COLLECT_SERVICE_MONEY")
    private BigDecimal osqCollectServiceMoney;

    /**
     * 应付服务金额
     */
    @TableField("OSQ_PAY_SERVICE_MONEY")
    private BigDecimal osqPayServiceMoney;

    /**
     * 实收服务金额
     */
    @TableField("OSQ_COLLECT_SERVICE_MONEY_REAL")
    private BigDecimal osqCollectServiceMoneyReal;

    /**
     * 实付服务金额
     */
    @TableField("OSQ_PAY_SERVICE_MONEY_REAL")
    private BigDecimal osqPayServiceMoneyReal;

    /**
     * 服务类型
     */
    @TableField("OSQ_QUALITY_TYPE")
    private String osqQualityType;

    /**
     * 服务单位
     */
    @TableField("OSQ_SERVICE_UNIT")
    private String osqServiceUnit;

    /**
     * 质控等级
     */
    @TableField("OSQ_SERVICE_RANK")
    private String osqServiceRank;

    /**
     * 质控地址
     */
    @TableField("OSQ_SERVICE_ADDRESS")
    private String osqServiceAddress;

    /**
     * 联系人
     */
    @TableField("OSQ_CONTACTS_MAN")
    private String osqContactsMan;

    /**
     * 联系方式
     */
    @TableField("OSQ_CONTACTS_MAN_PHONE")
    private String osqContactsManPhone;

    /**
     * 下单用户ID
     */
    @TableField("CREATE_USER_ID")
    private String createUserId;

    /**
     * 订单创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 联系方式
     */
    @TableField("CREATE_USER_PHONE")
    private String createUserPhone;

    /**
     * 订单创建时间
     */
    @TableField("CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 审批人
     */
    @TableField("APPROVE_USER")
    private String approveUser;

    /**
     * 审批时间
     */
    @TableField("APPROVE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date approveTime;

    /**
     * 审核状态
     */
    @TableField("APPROVE_STATUS")
    private String approveStatus;

    /**
     * 机构代码
     */
    @TableField("ORG_CODE")
    private String orgCode;

    @TableField(exist = false)
    private BigDecimal price;

    @TableField(exist = false)
    private BigDecimal money;

    public String getOsqId() {
        return osqId;
    }

    public void setOsqId(String osqId) {
        this.osqId = osqId;
    }
    public String getOsqName() {
        return osqName;
    }

    public void setOsqName(String osqName) {
        this.osqName = osqName;
    }
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getOsqShopId() {
        return osqShopId;
    }

    public void setOsqShopId(String osqShopId) {
        this.osqShopId = osqShopId;
    }
    public String getOsqState() {
        return osqState;
    }

    public void setOsqState(String osqState) {
        this.osqState = osqState;
    }
    public BigDecimal getOsqEstimateMoney() {
        return osqEstimateMoney;
    }

    public void setOsqEstimateMoney(BigDecimal osqEstimateMoney) {
        this.osqEstimateMoney = osqEstimateMoney;
    }
    public BigDecimal getOsqMoney() {
        return osqMoney;
    }

    public void setOsqMoney(BigDecimal osqMoney) {
        this.osqMoney = osqMoney;
    }
    public BigDecimal getOsqCollectServiceMoney() {
        return osqCollectServiceMoney;
    }

    public void setOsqCollectServiceMoney(BigDecimal osqCollectServiceMoney) {
        this.osqCollectServiceMoney = osqCollectServiceMoney;
    }
    public BigDecimal getOsqPayServiceMoney() {
        return osqPayServiceMoney;
    }

    public void setOsqPayServiceMoney(BigDecimal osqPayServiceMoney) {
        this.osqPayServiceMoney = osqPayServiceMoney;
    }
    public BigDecimal getOsqCollectServiceMoneyReal() {
        return osqCollectServiceMoneyReal;
    }

    public void setOsqCollectServiceMoneyReal(BigDecimal osqCollectServiceMoneyReal) {
        this.osqCollectServiceMoneyReal = osqCollectServiceMoneyReal;
    }
    public BigDecimal getOsqPayServiceMoneyReal() {
        return osqPayServiceMoneyReal;
    }

    public void setOsqPayServiceMoneyReal(BigDecimal osqPayServiceMoneyReal) {
        this.osqPayServiceMoneyReal = osqPayServiceMoneyReal;
    }
    public String getOsqQualityType() {
        return osqQualityType;
    }

    public void setOsqQualityType(String osqQualityType) {
        this.osqQualityType = osqQualityType;
    }
    public String getOsqServiceUnit() {
        return osqServiceUnit;
    }

    public void setOsqServiceUnit(String osqServiceUnit) {
        this.osqServiceUnit = osqServiceUnit;
    }
    public String getOsqServiceRank() {
        return osqServiceRank;
    }

    public void setOsqServiceRank(String osqServiceRank) {
        this.osqServiceRank = osqServiceRank;
    }
    public String getOsqServiceAddress() {
        return osqServiceAddress;
    }

    public void setOsqServiceAddress(String osqServiceAddress) {
        this.osqServiceAddress = osqServiceAddress;
    }
    public String getOsqContactsMan() {
        return osqContactsMan;
    }

    public void setOsqContactsMan(String osqContactsMan) {
        this.osqContactsMan = osqContactsMan;
    }
    public String getOsqContactsManPhone() {
        return osqContactsManPhone;
    }

    public void setOsqContactsManPhone(String osqContactsManPhone) {
        this.osqContactsManPhone = osqContactsManPhone;
    }
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public String getCreateUserPhone() {
        return createUserPhone;
    }

    public void setCreateUserPhone(String createUserPhone) {
        this.createUserPhone = createUserPhone;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getApproveUser() {
        return approveUser;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }
    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
    public String getApproveStatus() {
        return approveStatus;
    }

    public String getOsqStateLabel() {
        return osqStateLabel;
    }

    public void setOsqStateLabel(String osqStateLabel) {
        this.osqStateLabel = osqStateLabel;
    }

    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "OrderServiceQuality{" +
            "osqId=" + osqId +
            ", osqName=" + osqName +
            ", orderId=" + orderId +
            ", osqShopId=" + osqShopId +
            ", osqState=" + osqState +
            ", osqEstimateMoney=" + osqEstimateMoney +
            ", osqMoney=" + osqMoney +
            ", osqCollectServiceMoney=" + osqCollectServiceMoney +
            ", osqPayServiceMoney=" + osqPayServiceMoney +
            ", osqCollectServiceMoneyReal=" + osqCollectServiceMoneyReal +
            ", osqPayServiceMoneyReal=" + osqPayServiceMoneyReal +
            ", osqQualityType=" + osqQualityType +
            ", osqServiceUnit=" + osqServiceUnit +
            ", osqServiceRank=" + osqServiceRank +
            ", osqServiceAddress=" + osqServiceAddress +
            ", osqContactsMan=" + osqContactsMan +
            ", osqContactsManPhone=" + osqContactsManPhone +
            ", createUserId=" + createUserId +
            ", createUser=" + createUser +
            ", createUserPhone=" + createUserPhone +
            ", createTime=" + createTime +
            ", updateUser=" + updateUser +
            ", updateTime=" + updateTime +
            ", approveUser=" + approveUser +
            ", approveTime=" + approveTime +
            ", approveStatus=" + approveStatus +
            ", orgCode=" + orgCode +
        "}";
    }
}
